<?php

namespace App\Command\Cron;

use App\Utils\Enum\CommandEnum;
use MyBuilder\Bundle\CronosBundle\Annotation\Cron;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

/**
 * Class DefaultCommand
 * @package App\Command\Crontab
 * @Cron(minute="30", hour="1", noLogs=true, server="web")
 */
class BuildOrderReportCommand extends Command {
    protected static $defaultName = 'cron:build-order-report';

    protected function configure () {
        $this->setDescription('每天凌晨一点半生成订单报告');
    }

    protected function execute (InputInterface $input, OutputInterface $output) {
        // TODO
        return CommandEnum::SUCCESS;
    }
}